package com.manong.bookstore.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.manong.common.utils.PageUtils;
import com.manong.bookstore.user.entity.AddressEntity;

import java.util.Map;

/**
 * 
 *
 * @author cyq
 * @email 465447222@qq.com
 * @date 2021-01-27 21:34:32
 */
public interface AddressService extends IService<AddressEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
//    List<AddressEntity> findUserAddress(@PathVariable("userId") Integer userId);

    boolean setDefaultAddress(String userId, String addressId);
}

